package org.apache.ibatis.common.annotations;

import java.lang.annotation.*;

/**
 * @Name SelectKey
 * @Description: [配置] SELECT 语句中的 Key 关键字
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-05-09 15:10:54
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface SelectKey {
    String[] statement();

    String keyProperty();

    String keyColumn() default "";

    boolean before();

    Class<?> resultType();

    StatementType statementType() default StatementType.PREPARED;
}
